package main.java.tmi.authority.service;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 * 사용자 로그인을 처리하는 Interface
 *
 * @author min™
 * @since 2011. 07. 24
 *
 */
public interface AuthorityService {
	
	
	/**
	 * Authority search
	 *
	 * @param param
	 * @return AuthorityVO List
	 * @throws SQLException 
	 */
	List<AuthorityVO> getAuthorityView(Map<String,String> param) throws SQLException;
	
	/**
	 * Authority count search
	 *
	 * @param param
	 * @return AuthorityVO List
	 * @throws SQLException 
	 */
	int getAuthorityViewCount(Map<String,String> param) throws SQLException;
	
	/**
	 * Authority Detail search
	 *
	 * @param param
	 * @return AuthorityVO List
	 * @throws SQLException 
	 */
	Map<String,String> getAuthorityDetailView(Map<String,String> param) throws SQLException;
		
	/**
	 * Authority save
	 *
	 * @param param
	 * @return boolean
	 * @throws SQLException 
	 */
	boolean addAuthority(Map<String,String> param) throws Exception;
	
	
	/**
	 * Authority del
	 *
	 * @param param
	 * @return boolean
	 * @throws SQLException 
	 */
	boolean delAuthority(Map<String,String> param) throws Exception;

	
	/**
	 * RoleList Select
	 *
	 * @param none
	 * @return RoleVO List
	 * @throws SQLException 
	 */
	List<RoleVO> getRolelist() throws SQLException;
}


